package com.xh.springCloud.config.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by xuhao on 2016/11/9.
 */
//@SpringBootApplication
@EnableConfigServer
@EnableAutoConfiguration
@ComponentScan
public class Main {
    public static void main(String[] args){
        SpringApplication.run(Main.class, args);
    }
}
